package com.joey.cloud.psn.form;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;
import java.util.Set;

/**
 * @author joey
 */
@Data
@ApiModel(value="更新用户组织form")
public class UpdateGroupRelForm {
    @NotNull(message = "用户id不能为空")
    @ApiModelProperty(value = "用户id", required = true)
    private Long psnId;
    @NotNull(message = "不能为空")
    @ApiModelProperty(value = "组织id集合")
    private Set<Long> groupIdList;
}
